package com.wechat.wechat.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @author NN
 * @2020/2/20 15:11
 */
@Entity
@Data
public class OrderDetail {
    @Id
    /*详情编号*/
    private String detailId;
    /*订单编号*/
    private String orderId;
    /*商品编号*/
    private String productId;
    /*商品名称*/
    private String productName;
    /*商品价格*/
    private BigDecimal productPrice;
    /*购买数量*/
    private Integer productQuantity;
    /*商品图片*/
    private String productIcon;

}
